package cn.bellychang.ood.srp.bad;

import java.util.ArrayList;
import java.util.List;

/**
 * 某门课
 * @author ChangLiang
 * @date 2020/5/12
 */
public class CourseOffering {

    /**
     * 课程
     */
    private Course course;

    /**
     * 上课位置
     */
    private String location;

    /**
     * 教师
     */
    private String teacher;

    /**
     * 此课的学生容量
     */
    private int maxStudent;

    List<Student> students = new ArrayList<>();

    public Course getCourse() {
        return course;
    }

    public int getMaxStudent() {
        return maxStudent;
    }

    public List<Student> getStudents() {
        return students;
    }
}
